import request from '@/utils/request'

export function getInfo(data) {
  return request({
    url: '/mes/maintenance/query',
    method: 'get',
    params: data
  })
}
export function add(data) {
  return request({
    url: '/mes/maintenance/add',
    method: 'put',
    data
  })
}
export function del(data) {
  return request({
    url: `/mes/maintenance/delete/${id}`,
    method: 'delete',
    data
  })
}
export function updateMaintenance() {
  return request({
    url: '/mes/maintenance/create',
    method: 'post'

  })
}

